package com.example.demo.service.label;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.table.TableTagList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TagListService extends IService<TableTagList> {
        List<TableTagList> queryTagList(@Param("tagId") long tagId, @Param("userId") long userId, @Param("onlyFollow") boolean onlyFollow);

        void toggleTagListFollow(@Param("tagId") long tagId, @Param("userId") long userId);

        boolean hasFollowTag(@Param("tagId") long tagId, @Param("userId") long userId);
}
